<#include "copyright.ftl"/>
package ${basePackage}.${moduleName}.controller;


import static org.junit.Assert.fail;

import java.util.ArrayList;
import java.util.List;

import net.feimz.bean.po.TemplatePo;
import ${basePackage}.bean.po.${table.className}Po;
import net.feimz.security.entity.SysUserEntity;
import net.test.MockMVCBaseTest;
import net.feimz.utils._JsonUtil;

import org.junit.Test;



/**
 * <p>Mock测试类</p>
 * <p>Table: ${table.tableName} - ${table.remarks}</p>
 * <p></p>
 * @since ${.now}
 */
public class ${table.className}PoNonRestControllerTest extends MockMVCBaseTest {
	
	public ${table.className}PoNonRestControllerTest() {
		String baseUrl = "/api/${moduleName}/${table.javaProperty}";
		this.setBaseUrl(baseUrl);
	}
	
	@Test
	public void testDelete() {
		List<Long> ids = new ArrayList<Long>();
		ids.add(1l);
		super.testRestfull("/delete", _JsonUtil.JsonString(ids));
	}
}
